package dyyx.drools.demo1;

public class RuleHandler {
	
	
	public boolean check(RuleContext ctx){	
		boolean result = false;
		if(ctx.getAge() >=18){
			result = true;
			ctx.match();
		}
		
		System.out.println("RuleHandler.check run,result="+result+","+ctx);
		return result;
	}
	
}

